<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<meta property="qc:admins" content="6137300667630516056654" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{CSS_PATH}iapp.css"/>
</head>
<body>

<?php
$module="iapp";
?>


<div class="header">
  <div class="logo"><img src="{IMG_PATH}iapp/logo.png"  /></div>
  <div class="r">
    <p>登陆 | 注册 | 帮助</p>
    <ul>
      <li class="b1"><a href="{APP_PATH}index.php?m=iapp">手机版</a></li>
      <li class="b2">商家版</li>
    </ul>
  </div>
</div>
<div class="menu">
  <div>
   
    <?php
         $menus = getcache('iappMenu','commons');
         $menuid= $_GET[menuid];
    ?>
    <ul>
      <li {if !$menuid} class="cur" {/if}><a href="{siteurl($siteid)}">首页</a></li>
      {loop $menus $r}
	  {if $r[display]==1}
      <li {if $r[id]==$menuid} class="cur" {/if}><a href="{$r[url]}">{$r[title]}</a></li>
	  {/if}
      {/loop}
    </ul>
    <dl>
      <dt class="user">会员中心</dt>
    </dl>
  </div>
</div>

<ul class="mbanner" id="mbanner">
  {php $i=0;}
  {loop $promotion $k=>$v}
  <li id="mbc_{$i}" style="background-image:url({$v[bg]}); {if $i>0}display:none;{/if}">
    <div class="w">
      <div class="lc">
        <h1>{$v[title]}</h1>
        <p>{$v[description]}</p>
        <div class="btn ios"><a href="{$upgrade[iphone_updateFileUrl]}" target="_blank"></a></div>
        <div class="btn android"><a href="{$upgrade[android_updateFileUrl]}" target="_blank"></a></div>
        <div class="qrcode"><img src="{$upgrade[softdown_qrcode]}" width="132" height="132"  /></div>
      </div>
      <div class="rc"> <span class="phonel"><img src="{$v[img1]}" width="150" height="224" /></span> <span class="phoner"><img src="{$v[img2]}" width="180" height="272" /></span> </div>
    </div>
  </li>
  {php $i++;}
  {/loop}
</ul>
<div class="mbanner_m" id="mbanner_m"> 
<?php
$i=0;
foreach($iapp as $v){
    if($i==0){
        echo '<span id="mbm_'.$i.'" class="cur"  onclick="mbm('.$i.')"></span>';
    }else{
        echo '<span id="mbm_'.$i.'" onclick="mbm('.$i.')"></span>';
    }
    $i++;
}
?>
</div>
<ul class="content">
   <li> <img src="{IMG_PATH}iapp/g.png" width="72" height="72" /> <span>今日贵阳 热门新闻</span> </li>
  <li> <img src="{IMG_PATH}iapp/h.png" width="72" height="72" /> <span>吃、喝、玩、乐、新鲜事儿 随时分享</span> </li>
  <li> <img src="{IMG_PATH}iapp/b.png" width="72" height="72" /> <span>潮流活动 轻松参与</span> </li>
  <li> <img src="{IMG_PATH}iapp/a.png" width="72" height="72" /> <span>咖啡美食 尽在这里</span> </li>
  <li> <img src="{IMG_PATH}iapp/c.png" width="72" height="72" /> <span>KTV、电影院 应有尽有</span> </li>
  <li> <img src="{IMG_PATH}iapp/f.png" width="72" height="72" /> <span>绿色生活 优惠随时享</span> </li>
    <div class="clear"></div>
</ul>

<div class="footer"> 关于我们 - 联系方式 - 广告服务 - 招聘信息 - 站点地图 - 版权说明 <br />
  版权所有 (C) 2010—2013 最黔端版权所有 All Rights Reserved  黔ICP备12000249号-5 热线电话：0851-5636098 
</div>

<script>
	
	var idn =0;
	var interval;
	var c=$("#mbanner_m span").length;
	interval=window.setInterval(function(){ mbm(idn);}, 2000); 

	$("#mbanner li").hover(function() {
		clearInterval(interval);
	}, function() {
		interval=window.setInterval(function(){ mbm(idn);}, 2000); 
	});
	
	$("#mbanner_m span").hover(function() {
		clearInterval(interval);
	},function() {
		interval=window.setInterval(function(){ mbm(idn);}, 2000); 
	});
	
	function mbm(id) {
		$("#mbm_"+id).addClass("cur");
		$("#mbm_"+id).siblings().removeClass("cur");
		$('#mbanner #mbc_'+id).siblings().hide();
		$('#mbanner #mbc_'+id).fadeIn();
		if(id<c-1){
			idn=idn+1;
		}else{
			idn=0;
		}
	}
</script>
<script type="text/javascript">
$(function(){
	$(".picbig").each(function(i){
		var cur = $(this).find('.img-wrap').eq(0);
		var w = cur.width();
		var h = cur.height();
	   $(this).find('.img-wrap img').LoadImage(true, w, h,'{IMG_PATH}msg_img/loading.gif');
	});
})
</script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F3198e1f68562d3fb3f4eed5ce7eebefd' type='text/javascript'%3E%3C/script%3E"));
</script>

</body>
</html>